using System;
using System.Collections.Generic;

namespace Grr.Models
{
	public class SearchResult
	{
		private List<SearchMatch> matches;
		private bool more_matches_available;

		public SearchResult(List<SearchMatch> matches, bool more_matches_available)
		{
			this.matches = matches;
			this.more_matches_available = more_matches_available;
		}

		public static SearchResult Empty
		{
			get { return new SearchResult(new List<SearchMatch>(), false); }
		}

		public bool MoreMatchesAvailable
		{
			get { return more_matches_available; }
		}

		public List<SearchMatch> Matches
		{
			get { return matches; }
		}
	}
}

